package org.springblade.modules.platform.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class EquiomentLatestStatusVO {
	@ApiModelProperty(value = "字段类型")
	private String key;
	@ApiModelProperty(value = "字段名称")
	private String name;
	@ApiModelProperty(value = "字段类型")
	private String value;
	@ApiModelProperty(value = "单位")
	private String unit;
	@ApiModelProperty(value = "字段类型：elements(枚举)")
	private String valueType;

	@ApiModelProperty(value = "elements(枚举)类型")
	private elementsVO elementsVO;
	@NoArgsConstructor
	@Data
	public static class elementsVO {
		@ApiModelProperty(value = "枚举编号")
		private String code;

		@ApiModelProperty(value = "枚举名称")
		private String name;
	}
}
